const mongoose = require('mongoose')
const Schema  = mongoose.Schema;
const PatientSchema = new Schema({
    username:{
        type:String,
        required:true
    },
    password:{
        type:String,
        required:true
    },
    date:{
        type:Date,
        default:Date.now()
    },
})
module.exports = Patient = mongoose.model('patient',PatientSchema)